package canss.webservice.model;

import java.io.Serializable;

public class ModuleDesc implements Serializable
{
	private static final long serialVersionUID = 2587066553851275894L;
	private String tblMID_mid = "";
	private String tblPID_pid = "";
	private String name = "";
	private String commands = "";
	private String netaddr = "";
	private String midstatus = "";
	private long timestamp = 0;

	public ModuleDesc()
	{
		super();
	}

	public ModuleDesc(String _tblMID_mid)
	{
		tblMID_mid = _tblMID_mid == null ? "" : _tblMID_mid;
	}

	public String getTBLMID_MID()
	{
		return tblMID_mid;
	}

	public void setTBLMID_MID(String _tblMID_mid)
	{
		tblMID_mid = _tblMID_mid == null ? "" : _tblMID_mid;
	}

	public String getTBLPID_PID()
	{
		return tblPID_pid;
	}

	public void setTBLPID_PID(String _tblPID_pid)
	{
		tblPID_pid = _tblPID_pid == null ? "" : _tblPID_pid;
	}

	public String getNAME()
	{
		return name;
	}

	public void setNAME(String _name)
	{
		name = _name == null ? "" : _name;
	}

	public String getCOMMANDS()
	{
		return commands;
	}

	public void setCOMMANDS(String _commands)
	{
		commands = _commands == null ? "" : _commands;
	}

	public String getNETADDR()
	{
		return netaddr;
	}

	public void setNETADDR(String _netaddr)
	{
		netaddr = _netaddr == null ? "" : _netaddr;
	}

	public String getMIDSTATUS()
	{
		return midstatus;
	}
	public void setMIDSTATUS(String _midstatus)
	{
		midstatus = (_midstatus==null)?"":_midstatus;
	}

	public long getTIMESTAMP()
	{
		return timestamp;
	}
	public void setTIMESTAMP(long _timestamp)
	{
		timestamp=_timestamp;
	}
}
